package com.greenx.hello.collections.hstack;

import java.util.Stack;

public class HStack
{

    /**
     * @param args
     */
    public static void main(String[] args)
    {
        t1();

    }

    private static void t1()
    {
        Stack<String> s = new Stack<String>();
        s.push("Hello");
        s.push(" World!");
        System.out.println("" + s.pop());
        System.out.println("" + s.pop());
    }

}
